package com.heima.model.constants;

/**
 * RabbitMQ常量类
 * @author chenshan
 */
public class RabbitMQConstants {
    /**
     * 延时交换机名
     */
    public static final String RABBITMQ_DELAY_EXCHANGE_NAME = "news_delay_exchange";

    /**
     * 延时交换机的类型
     */
    public static final String RABBITMQ_DELAY_EXCHANGE_TYPE = "x-delayed-message";

    /**
     * 延时队列名
     */
    public static final String RABBITMQ_DELAY_QUEUE = "news_delay_queue";

    /**
     * 审核队列名
     */
    public static final String RABBITMQ_DELAY_RELEASE_QUEUE = "news_delay_release_queue";

    /**
     * 上下架队列名
     */
    public static final String RABBITMQ_ENABLE_QUEUE = "news_enable_queue";

    /**
     * 延时队列绑定交换机路由key
     */
    public static final String RABBITMQ_DELAY_KEY = "news_delay_key";

    /**
     * 审核队列绑定交换机路由key
     */
    public static final String RABBITMQ_RELEASE_KEY = "news_release_key";
}
